<?php
class Administra_model extends CI_Model{
    function __construct(){
      parent::__construct();
   }
   public function totEmpresas(){
       $sql = "select * from empresas order by empresaRazon";
       return $this->db->query($sql);
   }
   public function totInstituciones(){
       $sql = "select * from instituciones order by `institucionRazon`";
       return $this->db->query($sql);
   }
}
?>
